JBoss Community Archive (Read Only)

Infinispan 5.3

Cache loaders and cache stores - what's the difference?

JBoss Cache shipped with a CacheLoader interface and a number of implementations.  Infinispan has broken this up into two separate interfaces - a CacheLoader simply loads state from elsewhere, while a CacheStore - which extends CacheLoader - exposes methods to store state as well. This makes it simpler to define read-only sources. 

Infinispan ships with several high performance implementations of these interfaces.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 09:32:01 UTC, last content change 2011-07-18 15:18:00 UTC.